<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <!--引入字体图标-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <style>
        p,h3{
            text-align: center;
        }
        #d1{
            height: 130px;
        }
    </style>
</head>
<body>

<nav class="navbar navbar-default">
    <div class="container-fluid">
        <div class="navbar-header"  id="d1">
            <a class="navbar-brand" href="#">
                <img alt="Brand" src="logo.PNG">
            </a>
        </div>
        <ul class="nav navbar-nav container" style="font-size: 40px;margin: 50px" >
            <li><a href="">首页</a></li>
            <li><a href="">资讯</a></li>
            <li><a href="">公告</a></li>
            <li><a href="">活动</a></li>
            <li><a href="">论坛</a></li>
            <li><a href="">品牌故事</a></li>
            <span class="dropdown">
            <a style="font-size: 34px;margin-left: 40px" class="btn btn-default dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                全部产品
                <span class="caret"></span>
            </a>
            <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                <li><a href="#" style="color: pink;font-size: 20px" class="glyphicon glyphicon-star">镇店之宝护手霜</a></li>
                <li><a href="#"  style="color: lightblue;font-size: 20px" class="glyphicon glyphicon-gift">安娜沙滩级防晒</a></li>
                <li><a href="#" style="color: plum;font-size: 20px" class="glyphicon glyphicon-tint" >多丽丝海洋补水系列</a></li>
                <li><a href="#" style="color: darkseagreen;font-size: 20px" class="glyphicon glyphicon-heart">欢乐艾莎美白系列</a></li>
                <li><a href="#"  style="color: gold;font-size: 20px" class="glyphicon glyphicon-music">梦幻安妮系列</a></li>
            </ul>
        </span>
        </ul>

    </div>
</nav>
<div class="container" style="width: 1500px">
    <div id="myCarousel" class="carousel slide">
        <!-- 轮播（Carousel）指标 -->
        <ol class="carousel-indicators">
            <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
            <li data-target="#myCarousel" data-slide-to="1"></li>
        </ol>
        <!-- 轮播（Carousel）项目 -->
        <div class="carousel-inner">
            <div class="item active">
                <img src="https://gdp.alicdn.com/imgextra/i1/766155096/O1CN01xTkhyZ1nW12tzbJPy_!!766155096.jpg" alt="First slide">
                <div class="carousel-caption"></div>
            </div>
            <div class="item">
                <img src="https://gdp.alicdn.com/imgextra/i4/766155096/O1CN01ssSNnH1nW12ledqRI_!!766155096.jpg" alt="Second slide">
                <div class="carousel-caption"></div>
            </div>
        </div>
        <!-- 轮播（Carousel）导航 -->
        <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>
</div>
</div>
<div class="container">
    <div class="row">
        <div class="col-sm-12 col-md-6">
            <div class="thumbnail">
                <img src="https://img.alicdn.com/imgextra/i2/766155096/O1CN01HsJz2z1nW12x8OhsT_!!766155096.jpg" style="width: 679px;height: 800px">
                <div class="caption">
                    <h3>安娜小白伞<br>沙滩级防晒</h3>
                    <p>守护美肌 安娜防晒系列</p>
                    <p>
                        <a href="#" class="btn btn-primary" role="button">收藏</a>
                        <a href="#" class="btn btn-default" role="button">下单</a>
                    </p>
                </div>
            </div>
        </div>
        <div class="col-sm-12 col-md-6">
            <div class="thumbnail">
                <img src="https://img.alicdn.com/imgextra/i1/766155096/O1CN01kFubCE1nW12wMoaOV_!!766155096.jpg" style="width: 679px;height: 800px">
                <div class="caption">
                    <h3>一秒乳化<br>水感卸妆</h3>
                    <p>亮丽塔拉卸妆油</p>
                    <p>
                        <a href="#" class="btn btn-primary" role="button">收藏</a>
                        <a href="#" class="btn btn-default" role="button">下单</a>
                    </p>
                </div>
            </div>
        </div>
        <div class="col-sm-12 col-md-6">
            <div class="thumbnail">
                <img src="https://img.alicdn.com/imgextra/i3/766155096/O1CN015bnUc11nW13uW7hzE_!!766155096.jpg" style="width: 679px;height: 800px">
                <div class="caption">
                    <h3>手护细嫩<br>留香8小时</h3>
                    <p>秘密花园护手霜礼盒装</p>
                    <p>
                        <a href="#" class="btn btn-primary" role="button">收藏</a>
                        <a href="#" class="btn btn-default" role="button">下单</a>
                    </p>
                </div>
            </div>
        </div>
        <div class="col-sm-12 col-md-6">
            <div class="thumbnail">
                <img src="https://img.alicdn.com/imgextra/i1/766155096/O1CN01STi5cZ1nW0xC8D2or_!!766155096.jpg" style="width: 679px;height: 800px">
                <div class="caption">
                    <h3>深沁肌底<br>赋活舒润</h3>
                    <p>多丽丝海洋能量补水两件套</p>
                    <p>
                        <a href="#" class="btn btn-primary" role="button">收藏</a>
                        <a href="#" class="btn btn-default" role="button">下单</a>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>



<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
<script>
    $("li").click(function () {
        $(this).attr("class","active")
        $(this).siblings().attr("class","")
    })
</script>
</body>
</html>